/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataAccess.entity;

import java.util.ArrayList;

/**
 *
 * @author Domenico
 */
public class ListProperty extends Property {
    
    private ArrayList<String> list;
    public ListProperty(String name, String alias, String type )  {
        super(name, alias, type);
    }
    public ListProperty(Property p, ArrayList<String> values )  {
        super(p.getFieldName(), p.getFieldAlias(), p.getFieldType());
        list = values;
    }
    public ArrayList<String> getValues(){
        return list;
    }
}
